home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #1 / Amiga Plus CD - 2000 - No. 1.iso / Tools / Dev / Meshwriter / postscript.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-12-03  |  4.9 KB  |  101 lines

  1. /*
  2. **      $VER: postscript.h 1.00 (20.02.1999)
  3. **
  4. **      Creation date : 23.01.1999
  5. **
  6. **      Description       :
  7. **         Standart saver module for meshwriter.library.
  8. **         Saves the mesh as PostScript file.
  9. **
  10. **
  11. **      Written by Stephan Bielmann
  12. **
  13. */
  14.  
  15. #ifndef INCLUDE_POSTSCRIPT_H
  16. #define INCLUDE_POSTSCRIPT_H
  17.  
  18. /*************************** Includes *******************************/
  19.  
  20. /*
  21. ** Amiga includes
  22. */
  23. #include <dos/dos.h>
  24.  
  25. /*
  26. ** Project includes
  27. */
  28. #include "meshwriter_private.h"
  29.  
  30. /*************************** Functions ******************************/
  31.  
  32. /********************************************************************\
  33. *                                                                    *
  34. * Name         : write2EPS                                           *
  35. *                                                                    *
  36. * Description  : Writes a standart Encapsulated PostScript ASCII     *
  37. *                file.                                               *
  38. *                                                                    *
  39. * Arguments    : epsfile  IN : An already opened file stream.        *
  40. *                mesh     IN : Pointer to the mesh.                  *
  41. *                viewtype IN : Type of view.                         *
  42. *                drawmode IN : Drawing mode.                         *
  43. *                                                                    *
  44. * Return Value : RCNOERROR                                           *
  45. *                RCWRITEDATA                                         *
  46. *                                                                    *
  47. * Comment      :                                                     *
  48. *                                                                    *
  49. \********************************************************************/
  50. extern ULONG write2EPS(BPTR epsfile,TOCLMesh *mesh,ULONG viewtype,ULONG drawmode);
  51.  
  52. /********************************************************************\
  53. *                                                                    *
  54. * Name         : write2PSP                                           *
  55. *                                                                    *
  56. * Description  : Writes a standart PostScript ASCII file, for a      *
  57. *                portrait visualisation, A4 portrait for example.    *
  58. *                But this one is independent of the page/display     *
  59. *                size.                                               *
  60. *                                                                    *
  61. * Arguments    : psfile   IN : An already opened file stream.        *
  62. *                mesh     IN : Pointer to the mesh.                  *
  63. *                viewtype IN : Type of view.                         *
  64. *                drawmode IN : Drawing mode.                         *
  65. *                                                                    *
  66. * Return Value : RCNOERROR                                           *
  67. *                RCWRITEDATA                                         *
  68. *                                                                    *
  69. * Comment      :                                                     *
  70. *                                                                    *
  71. \********************************************************************/
  72. extern ULONG write2PSP(BPTR psfile,TOCLMesh *mesh,ULONG viewtype,ULONG drawmode);
  73.  
  74. /********************************************************************\
  75. *                                                                    *
  76. * Name         : write2PSL                                           *
  77. *                                                                    *
  78. * Description  : Writes a standart PostScript ASCII file, for a      *
  79. *                landscape visualisation, A4 landscape for example.  *
  80. *                But this one is independent of the page/display     *
  81. *                size.                                               *
  82. *                                                                    *
  83. * Arguments    : psfile   IN : An already opened file stream.        *
  84. *                mesh     IN : Pointer to the mesh.                  *
  85. *                viewtype IN : Type of view.                         *
  86. *                drawmode IN : Drawing mode.                         *
  87. *                                                                    *
  88. * Return Value : RCNOERROR                                           *
  89. *                RCWRITEDATA                                         *
  90. *                                                                    *
  91. * Comment      :                                                     *
  92. *                                                                    *
  93. \********************************************************************/
  94. extern ULONG write2PSL(BPTR psfile,TOCLMesh *mesh,ULONG viewtype,ULONG drawmode);
  95.  
  96. #endif
  97.  
  98. /************************* End of file ******************************/
  99.  
  100.  
  101.